package com.oss.vo.oss.student;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.oss.vo.BaseVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author chengqiang
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class StudentExportVO extends BaseVO {
    @ExcelProperty(value="手机号")
    private String phone;
    @ExcelProperty("学员名称")
    private String name;
    @ExcelProperty("学员代码")
    private String code;
    @ExcelProperty("微信号")
    private String wechatID;
    @ExcelProperty("微信昵称")
    private String wechatNickname;
    @ExcelProperty("自媒体平台")
    private String weMediaPlatform;
    @ExcelProperty("平台昵称")
    private String platformNickname;
    @ExcelProperty("账号")
    private String account;
    @ExcelProperty("密码")
    private String password;
    @ExcelProperty("引流人")
    private String recommended;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty("引流时间")
    // 单元格内容居左
    @ContentStyle(horizontalAlignment= HorizontalAlignmentEnum.LEFT)
    private LocalDate recommendedDate;
    @ExcelProperty("账号等级")
    private String accountLevel;
    @ExcelProperty("状态")
    private String status;

    @ExcelProperty("自媒体账号")
    private String weMediaAccount;
    @ExcelProperty("主播")
    private String tvAnchor;
    @ExcelProperty("组别")
    private String groupType;
    @ExcelProperty("学员经理")
    private String studentManager;
    @ExcelProperty("一对一类型")
    private String vipServer;
}
